#!/bin/bash
#SBATCH -J e_small
#SBATCH --qos=highmem
#SBATCH --tasks=176
#SBATCH --mem-per-cpu=5g
#SBATCH --partition=general-bionic
#SBATCH --constraint=infiniband
#SBATCH --time=10-0:0:0

# load environment-modules support
. /etc/profile.d/modules.sh

# load Intel compiler and MVAPICH2 environment modules
module load comp/intel/2019.1 \
	lib/mkl/2019.1 \
	mpi/mvapich2/2.3-intel-2019.1 \
    lib/imsl/2018.0.0

# use srun instead of mpiexec
# (may change in the future)
srun --mpi=pmi2 /fa/proj8/wbp/environ_tax/fortran/equity_efficiency/endogenous_energy/no_superstar/transition/transition> /fa/proj8/wbp/environ_tax/fortran/equity_efficiency/endogenous_energy/no_superstar/transition/transition.out
